Allowing to use Doctrine orm 2.3