Added support for creating Doctrine EntityManager like DAO objects