callback = function(data, opt_error) {
      if (opt_error) {
        if (opt_failureCallback) {
          opt_failureCallback(Error(opt_error));
        }
        return;
      }

      ee.ApiFunction.api_ = goog.object.map(data, function(sig, name) {
        // Strip type parameters.
        sig.returns = sig.returns.replace(/<.*>/, '');
        for (let i = 0; i < sig.args.length; i++) {
          sig.args[i].type = sig.args[i].type.replace(/<.*>/, '');
        }
        return new ee.ApiFunction(name, sig);
      });
      if (opt_successCallback) opt_successCallback();
    }
@param {?ee.data.AlgorithmsRegistry} data
@param {string=} opt_error