Remove obsolete links.