Making compatible with Symfony 2.2 components