Add TYPE_MODULE for top-level block.
Add FunctionDesc to module and func nodes.
Rename {Scope} -> {Contour}.
Rename {FunctionDesc} -> {Scope}.