Adding support and tests for reading data using streams.