Added `filter` option to S class.