Refactor the return line from serviceSettings() when includeGlobal is false.