Added setting DictionaryAsKeyValuePairs