temporarily made Reader non-generic, and receive a reference to Buffer.