More work on streams and piping.