Add some features to Symfony2