Cleanup parser.