Add pipeline attributes to function. Of course a `process{}` too or one could also use `filter{}` instead of `function{}` which has a default `process{}`