Now compatible with symfony 2.3