Remove unused cache.
Clean up fetchLinks.
Clean up getLinks.