code: public static void unregister(ApiFeature apiFeature) {
          JavaScriptObject scriptObject = features.get(apiFeature);
          if (scriptObject != null) {
              if (scriptObject.cast() instanceof Element) {
                  Element scriptElement = scriptObject.cast();
                  scriptElement.removeFromParent();
              }
          }
          features.remove(apiFeature);
      }
docs: Will unregister the provided {@link ApiFeature} in to map of features.