added hook to register the entity types using tot ten's addition for 4.4