code: function(relatedLinks, exclusions) {
  			this._categorizedRelatedLinks = {};
  			relatedLinks.forEach(function(info) {
  				var relatedLink = info.relatedLink;
  				var command = info.command;
  				var invocation = info.invocation;
  				if (!exclusions || exclusions.indexOf(relatedLink.id) === -1) {
  					var category = relatedLink.category;
  					this._categorizedRelatedLinks[category] = this._categorizedRelatedLinks[category] || [];
  					this._categorizedRelatedLinks[category].push({
  						title: command.name,
  						order: relatedLink.order || 100,
  						href: command.hrefCallback.call(invocation.handler, invocation)
  					});
  				}
  			}, this);
  			this._updateCategoryAnchors();
  			this._updateCategoryNotifications();
  		}
docs: Called whenever the page target changes.
  @param {Object} relatedLinks
  @param {String[]} exclusions List of related link IDs that the page has requested to not be shown.