Cleanup CourseData and add scope to current_student.