Doctrine integration