Allow a `filterFunction` to be set on a TransformConnector

Setting this method allows for free-form filtering of operations.