Added pop and delitem and fixed getitem on AttrTree