Make types automatic with name hashing and maps