removeListenerFromCallbacks_(callbacks, callback) {
    const index = callbacks.indexOf(callback);
    if (index > -1) {
      callbacks.splice(index, 1);
    }
  }
@private
@param {!Array<function(?)>} callbacks the internal list of callbacks
@param {function(?)} callback the callback to remove