Support module_function