This will allow us to resolve modules dynamically loaded from a script.
This corresponds to the "Abstract Module Record" from the spec.