doc: revisions to loader.py (2)