Moved the KeyAsString method out of SettingKey.