Prevent the unloading of modes.