Small extra features for Symfony 2