Make hasMultipleSites and isMainSite available everywhere.