Added simple parse tree functionality.