Fixing broken links in base.py