Doctrine moved to persistence