@Override
  public void addExtension(@NotNull Extension extension) {
    if (!getExtensions().contains(extension)) {
      List<Extension> extensions = new ArrayList<>(getExtensions());
      extensions.add(extension);
      setExtensions(extensions);
    }
  }
@Override
  public void addExtension(@NotNull Extension extension)