Fix deprecated use of Doctrine class instead of Doctrine_Core (official form).