docs: @Override
    public void unregister(Monitor<?> monitor) {
      Preconditions.checkNotNull(monitor, "monitor");
      try {
        monitors.remove(monitor);
      } catch (Exception e) {
        throw new IllegalArgumentException("invalid object", e);
      }
    }