Guard against modules that have not yet been loaded.