changed from type to hashcode on the name of the type in the internal map