Replaced EntityManager to EntityManagerInterface.
Added comment