import semantics updated to support compiled modules.