ADDED: EntityManager - Introduced typedef for entity ids.