Discard side-effect-free LoadModules if not used.