DOC: Adds a new docstring for add_transform