This commit makes it possible to access the module of a function by passing the `need_module` argument to the pyfn and pyfunction macros.