code: private Object removeObject(Integer key) {
          if (key == null) {
              return null;
          }
          return objectLibrary.remove(key);
      }
docs: Only to be used by removal coming from direct-http calls, because calls from the jmx client
  can still reference this key for other notifications.