read() implementation.
Implement Reader class.