Add some validators for Symfony2.1 Framework