Updated parsers for handling tree.