Make use of static cache in _quiz_get_question_types().