Clean up parser.