Module constructor now only allocates the new loader if it hasn't done so already.