Added a global variable "exports" in the scope of modules.