Add a CharReader class to simplify things.