Added RichInputStream.