Added StreamRecordProvider instead of FlatStreamRecord