A Location is a UsageKey. This gets the UsageKey which is compatible with the given CourseKey. It's the right pattern.