Add targets to links.