Clean up the parser.