1. A method comprising: receiving a new policy tree at a network element in a network, wherein the network element stores a current policy tree of classes for quality of service of packets being processed by the network element; comparing the classes of the current policy tree with the classes of the new policy tree; and selectively deleting classes of the current policy tree based on the comparison of the classes.