Doctrine 1.x