I think this would be much more useful if it could also encapsulate the raw stream into a container (perhaps as an optional step).