Use validator as an interface only, for Symfony2.5 compatibility