Add documentation for unwind()
Add documentation for unwind()

The `Pipeline.unwind()` method is public and should include a docstring.
It should also include some comments to explain why certain things are
being done inside the method.

dirn/Simon,dirn/Simon