Parser: grammar fixes
Parser/AST: Module function definition