Seems weird that we need to pass both `course` and `course.id` here