Moved UserCourseSummary._generate_summary