Start implementing bytestreams handling.