Handle different operations on subelements