Before adding Doctrine