 
   deactivateMode: ->
     @removeHintMarkers()
-    @markerMatcher = null
-    @isActive = false
     @hintMode?.exit()
-    @hintMode = null
     @onExit?()
-    @onExit = null
-    @tabCount = 0
 
   removeHintMarkers: ->
     DomUtils.removeElement @hintMarkerContainingDiv if @hintMarkerContainingDiv

  constructor: (mode = OPEN_IN_CURRENT_TAB, onExit = (->)) ->
    # we need documentElement to be ready in order to append links
    return unless document.documentElement
    @isActive = true

    elements = @getVisibleClickableElements()
    # For these modes, we filter out those elements which don't have an HREF (since there's nothing we can do

  mode: undefined
  # Function that does the appropriate action on the selected link.
  linkActivator: undefined
  # The link-hints "mode" (in the key-handler, indicator sense).
  hintMode: null
  # Call this function on exit (if defined).
