docs: public synchronized void setProperty(String name, Object value) {
          if (!(value instanceof Serializable)) {
              throw new IllegalArgumentException("Value must be serializable");
          }
          properties.put(name, value);
      }