Validator constructor now compatible with Symfony 2.2