Renamed `where` to `filter` to be more in line with PHP precedent.