Remove unnecessary arguments in define_parser.