Moved TempCourse functionality to ScopedCourse