Add treepainter.