         Promise.resolve()
 
       # Wait for the workflow tutorial, but if nothing comes back, check for a project tutorial.
+      # Take this out once workflow linking works:
       awaitMiniCourseInGeneral = awaitMiniCourseForWorkflow.then (miniCourseForWorkflow) ->
         if miniCourseForWorkflow?
           miniCourseForWorkflow

              # Create default preferences if they don't exist
              @createProjectPreferences(projectPreferences, minicourse.id, project.id).then =>
                @start minicourse, user
      # else
      #   sessionStorage.setItem 'minicourse_slide_to_start', 0

      #   @start minicourse, user

    startIfNecessary: ({workflow, project, user}) ->
      if user?

          .then ([projectPreferences]) =>
            window.prefs = projectPreferences
            projectPreferences?.preferences?.minicourses?.completed_at?["id_#{minicourse.id}"]?

    handleOptOut: (project, user, minicourseID) ->
      if user?
