remove deprecated getEntityManager method