Tree namespace handling