Add a "functions" property to ModuleRef, to iterate over the functions defined in the module