clean up types for reset of dictionary.