added support for doctrine ODM