Add doctrine ORM support