#20 Allow filter function to provided when adding a transform