Re-added rest_funcs to models modules