for (var key in this.config) {
    if (this.config[key] === null) {
      throw new Error('Option "' + key + '" is required');
    }
  }