Working on peekable text reader.