Dirty prototype of stream-piping interface