Fix typo and set up Doctrine proxies