Improve ref links.