Changed CourseSet to serializable