Added return value semantics to the parser.