Index constructs a serializable index of outbound cross-references for the specified type-checked package.
Lookup searches a serialized index produced by an indexPackage operation on m, and returns the locations of all references from m to any object in the target set.