Remove statefulness in ModuleExports