Support primitive keys in Dictionaries.