Moved logic from DefaultRegion to DefaultCacheFactory