Adds support for TaggedTrees with example.