Fixed case issues with EntityManager classes