Fix an issue with module-level functions having named parameters