code: function setConfig(newConf, isClearPrevious) {
      checkIsObject(newConf);
      config = isClearPrevious ? Immutable.fromJS(newConf) : config.merge(newConf);
  }
docs: Set the reference configuration.
  @param {object}  newConf         - The new configuration to set.
  @param {Boolean} isClearPrevious - Does the config should be reset.