Simplify Node.__setitem__ usage. Remove Root class. Factor out Node.