docs: function() {
  		// If running in Node.js, don't teardown.
  		if(isNode()) {
  			return;
  		}
  
  		var document = getDocument(),
  			window = getGlobal();
  
  		domEvents.removeDelegateListener(document.documentElement, "click", "a", this.anchorClickHandler);
  
  		// Reset the changed `window.history` methods to their original values.
  		canReflect.eachKey(methodsToOverwrite, function(method) {
  			window.history[method] = this.originalMethods[method];
  		}, this);
  
  		domEvents.removeEventListener(window, "popstate", this.dispatchHandlers);
  	}