[PD] Add a "set" method to [set]