Tidied up mod.settings.