Include the function type in the GLOBAL-AST.
Include the type of the function in the GLOBAL-AST when created.