Add some validators for Symfony2.x Framework