more method checks for Symfony2.1 compatibility