This is not a function. Make the comment in terms of the `transform` method, which also needs its docstring updated.