Removed Integer boxing inside EntityManager.