Fixed module_function defn