Minor style improvement. One error in parser.
Refactored function AST nodes by removing some of the repeated elements to the base class.
Further code cleanup.