       for classificationData in queue then do (classificationData) =>
         apiClient.type('classifications').create(classificationData).save()
           .then (actualClassification) =>
+            console?.log 'Saved classification', actualClassification.id
             actualClassification.destroy()
             indexInQueue = queue.indexOf classificationData
             queue.splice indexInQueue, 1

              console?.error 'Failed to update classification queue:', error
          .catch (error) =>
            console?.error 'Failed to save a queued classification:', error

  loadAnotherSubject: ->
    # Forget the old classification so a new one will load.


    classification = @state.classification
    console?.info 'Completed classification', classification

    Split.classificationCreated(classification)
    {workflow, subjects} = classification.links
    seenThisSession.add workflow, subjects
    @queueClassification classification unless @state.demoMode
    @saveAllQueuedClassifications()
    Promise.resolve classification

  queueClassification: (classification) ->
    queue = JSON.parse localStorage.getItem FAILED_CLASSIFICATION_QUEUE_NAME
