document() calls load_all()