Added Doctrine extensions