Add documentation comments to abstract_stream.