Fixing warnings and broken links