define(name, value) {
    if (this.has_(name)) {
      throw new Error('Configuration ' + name + ' has already been defined.');
    }
    this.set_(name, value);
  }
Defines a configuration with the given name and value.

@param {string} name The name of the configuration.
@param {*=} value The value of the configuration.