Made return type optional in AST. Fixed parser and pretty printer.