Implemented initial RecordReader functionality inside Reader.