Changed TYPES variable to protected to allow extending entities to access the HashMap and add additional enumeration types.