This function is never used outside of the settings manager, so please make it a static function available only in the cpp file.