Doctrine ORM integration for the Synapse framework