Adding in ability to read data from a stream