@Override
  public boolean equals(Object o) {
    if (o instanceof ClassSerializer other) {
      return other.myInstance.equals(myInstance);
    } else {
      return false;
    }
  }
@Override
  public boolean equals(Object o)