Removing unnecessary links.