should this be `_get_extra_args`? seems pretty specific to this code