MDL-33071 reorganise quiz code for autoloading.