Added support for constituent trees.