def METHOD_NAME(method):
    method_name = method.__name__
    allowed_method_names.append(method_name)
    def wrapper(df, *args, **kwargs):
        return df.executor._rmi(df, method_name, args, kwargs)
    return wrapper