@ApiStatus.Internal
  public static void setRegion(@NotNull Region region) {
    if (region == Region.NOT_SET) {
      resetCode();
    }
    else {
      Prefs.put(REGION_CODE_KEY, region.externalName());
      fireEvent();
    }
  }
@ApiStatus.Internal
  public static void setRegion(@NotNull Region region)