         @root.removeChildren(@root.children)
         @root.appendChildren(items)
       @updateChangeCount(Outline.ChangeCleared)
-      @emitModifiedStatusChanged(false)
       @emitter.emit 'did-reload'
 
   ###

  onDidEndChanges: (callback) ->
    @emitter.on 'did-end-changes', callback

  # Public: Invoke the given callback when the value of {::isModified} changes.
  #
  # - `callback` {Function} to be called when {::isModified} changes.
  #   - `modified` {Boolean} indicating whether the outline is modified.
  #
  # Returns a {Disposable} on which `.dispose()` can be called to unsubscribe.
  onDidChangeModified: (callback) ->
    @emitter.on 'did-change-modified', callback

  # Public: Invoke the given callback when the outline is destroyed.
  #


  isRetained: -> @refcount > 0

  # Public: Determine if the outline is edited.
  #
  # Returns a {Boolean}.
  isEdited: ->
    @changeCount isnt 0

  # Public: Updates the receiver’s change count according to the given change
  # type.
  updateChangeCount: (changeType) ->
    switch changeType
      when Outline.ChangeDone
        @changeCount++
      when Outline.ChangeUndone
