Refactor views: components OutputStream, InputStream, Stream