     settings.dispose()
     @history?.destroy()
     @history = null
-
-  extendSymbolsView: ->
-    around = (decoration) ->
-      (base) ->
-        (params...) ->
-          callback = -> base params...
-          decoration ([callback].concat params)...
-
-    withAudit = around (cb, params...) ->
-      console.log "Before"
-      cb()
-      console.log "After"
-
-    extendOpenTag = (view) ->
-      openTag = view.openTag.bind(view)
-      view.openTag = withAudit openTag
-      openTag
-
-    @openTags = {}
-    atom.packages.onDidActivatePackage (pack) ->
-      return unless pack.name is 'symbols-view'
-      main = pack.mainModule
-
-      @openTags['FileView']    = extendOpenTag main.createFileView()
-      @openTags['ProjectView'] = extendOpenTag main.createProjectView()
-      @openTags['GoToView']    = extendOpenTag main.createGoToView()
-      @openTags['GoBackView']  = extendOpenTag main.createGoBackView()
 
   # For better handling symbols-view.
   # -------------------------

    return unless entry  = @history["get#{direction}"]()

    if direction is 'Prev' and @history.isNewest()
      point = @getPosition()
      URI   = editor.getURI()
      @history.pushToHead editor, point, URI


        oldURI = newURI

    onDidChangeCursorPosition = (editor) =>
      editor.onDidChangeCursorPosition ({oldBufferPosition, newBufferPosition, cursor}) =>
        return if @isLocked() # for performance
        return if editor.hasMultipleCursors()
        return if oldBufferPosition.row is newBufferPosition.row # for performance
        return unless @needRemember(oldBufferPosition, newBufferPosition)

        delay 300, =>
          # When symbols-view's modal panel shown, we lock() but its delayed.
          # So we need lock state again here after some delay.
          return if @isLocked()

          # Ignore Rapid movement, dirty workaround for GoToView, GoBackView.
          unless newBufferPosition.isEqual @getPosition(editor)
            debug "Rapid movement ignore!"
            return

          # debug "Move #{oldBufferPosition.toString()} -> #{newBufferPosition.toString()}"
          @history.add editor, oldBufferPosition, editor.getURI(), dumpMessage: "[Cursor moved] save history"

    onDidDestroy = (editor) =>
      editor.onDidDestroy =>
