Entity manager extended from doctrine entity manager.