Add ability to declare a theme as a tree