docs: function (question, defaultValue) {
    var choiceValues = _.map(question.choices, function (choice) {
      if (typeof choice === 'object') {
        return choice.value;
      } else {
        return choice;
      }
    });
  
    return choiceValues.indexOf(defaultValue);
  }