Changed questionType to be an Enum value.