Added doctrine entity resolver