Implemented most of the TextReader methods