module can be func(Loader); panic when requires is not provided