Better validation on duration and typicallearningtime.