Added comments to load_shallow_resources