def METHOD_NAME(
    cls, parser: ParlaiParser, partial_opt: Optional[Opt] = None
) -> ParlaiParser:
    super().METHOD_NAME(parser, partial_opt)
    agent = parser.add_argument_group('AbstractWrapper args')
    agent.add_argument(
        '-wt',
        '--wrapper-task',
        type=str,
        help='The task whose fields will be manipulated.',
    )
    try:
        parser.add_task_args(partial_opt['wrapper_task'], partial_opt)
    except KeyError:
        warn_once(
            'The task name cannot be parsed from command-line arguments! '
            'Task-specific flags will not be added.'
        )
    return parser