Added method remove for tree service