def METHOD_NAME(self, instance, **kwds):
    config = self.CONFIG(kwds)
    if config.reversible:
        if any(
            hasattr(instance, map_name)
            for map_name in [
                '_tmp_var_bound_strip_lb',
                '_tmp_var_bound_strip_ub',
                '_tmp_var_bound_strip_domain',
            ]
        ):
            raise RuntimeError(
                'Variable stripping reversion component maps already '
                'exist. Did you already apply a temporary transformation '
                'without a subsequent reversion?'
            )
        # Component maps to store data for reversion.
        instance._tmp_var_bound_strip_lb = ComponentMap()
        instance._tmp_var_bound_strip_ub = ComponentMap()
        instance._tmp_var_bound_strip_domain = ComponentMap()
    for var in instance.component_data_objects(ctype=Var):
        if config.strip_domains and not var.domain == Reals:
            if config.reversible:
                instance._tmp_var_bound_strip_domain[var] = var.domain
            var.domain = Reals
        if var.has_lb():
            if config.reversible:
                instance._tmp_var_bound_strip_lb[var] = var.lb
            var.setlb(None)
        if var.has_ub():
            if config.reversible:
                instance._tmp_var_bound_strip_ub[var] = var.ub
            var.setub(None)