docs: function (xrefs, server){
      this._is_a = 'amigo2.linker';
  
      // TODO:BUG: With the new dispatcher, relative URLs no longer work.
  
      this._xrefs = xrefs;
  
      // Easy app base.
      this.app_base = server.app_base;
      // Internal term matcher.
      this.term_regexp = null;
      var internal_regexp_str = server.term_regexp;
      if( internal_regexp_str ){
  	this.term_regexp = new RegExp(internal_regexp_str);
      }
  
      // Categories for different special cases (internal links).
      this.ont_category = {
  	'term': true,
  	'ontology_class': true,
  	'annotation_class': true,
  	'annotation_class_closure': true,
  	'annotation_class_list': true,
  	// Noctua model stuff.
  	'function_class': true,
  	'function_class_closure': true,
  	'process_class': true,
  	'process_class_closure': true,
  	'location_list': true,
  	'location_list_closure': true
      };
      this.bio_category = {
          'gp': true,
  	'gene_product': true,
  	'bioentity': true
      };
      this.ref_category = {
  	'reference': true
      };
      this.model_category = {
          'model': true
      };
      this.search_category = { // not including the trivial medial_search below
          'search': true,
  	'live_search': true
      };
      this.search_modifier = {
  	// Possibly "dynamic".
  	'gene_product': '/bioentity',
  	'bioentity': '/bioentity',
  	'ontology': '/ontology',
  	'reference': '/reference',
  	'annotation': '/annotation',
  	'model': '/model',
  	'family': '/family',
  	'lego_unit': '/lego_unit',
  	'general': '/general'
      };
      this.other_interlinks = {
  	'medial_search': '/amigo/medial_search',
  	'landing': '/amigo/landing',
  	'tools': '/amigo/software_list',
  	'schema_details': '/amigo/schema_details',
  	'load_details': '/amigo/load_details',
  	'browse': '/amigo/browse',
  	'goose': '/goose',
  	'grebe': '/grebe',
  	'gannet': '/gannet',
  	'repl': '/repl'	
      };
  }