Doctrine2 extensions