`course_id` could be None here, is it ok not to check?