Added pointer back to EntityManager in Entity class.