   displayName: 'Navigation'
 
   mixins: [BindStoreMixin]
+  bindStore: CourseStore
 
   contextTypes:
     router: React.PropTypes.func


  bindUpdate: ->
    @handleCourseChanges()

  bindStore: CourseStore

  transitionToMenuItem: (routeName, params) ->
    @context.router.transitionTo(routeName, params)

      {courseId} = @context.router.getCurrentParams()

      unless @state.course?.id is courseId
        course = CourseStore.get(courseId)
        @setState({course})

  # Also need to listen to when location finally updates.
