Modules: Handle module block type
Modules: Handle variable declarations specially
Modules: Handle function declarations specially
Modules: Compile assignments to global module variables correctly
Modules: Publish global variables and functions