Add modality to TypeCourse

:grapes: