small bugfix

modify exnteds interface to `stream.Writable`.