Moved the type parameter from the WriteStream's options to the triple.