add type safe dictionary.