The information needed is generated in slightly disparate places, so the LinkFactory tells the map about Links and ComponentInvocations, and the MarkupWriter will link Elements to Link instance.