Keeping tree-bases tidy