You don't need to create the CourseLocator as the locator from above will work fine.