Places project. Hot fix - deprecated getEntityManager..