Migrating things to Symfony