Additional functions for Data.Tree