def METHOD_NAME(self, key, orig):
    """Remove an added builtin and re-set the original."""
    if orig is BuiltinUndefined:
        del builtin_mod.__dict__[key]
    else:
        builtin_mod.__dict__[key] = orig