public virtual SortedDictionary<string, object> ToParamsDictionary() { return new SortedDictionary<string, object>(CustomParams); }