docs: public Set<String> variants(String identity) throws IllegalArgumentException {
      Config config = configurations.get(identity);
      if (config == null) {
        throw new IllegalArgumentException("Identity " + identity + " does not exist.");
      } else {
        return config.variants();
      }
    }