Added support for specific methods in where()