Make bundle Symfony 2.2 compatible