Fix to parsing_context eof() and do_eof() methods
Updates to docs