Fixed various broken links. Also resolves gh-4710.