Fixed migration to Symfony 2.1