Add a little API for making trees of text.