* Add a set function on the data structure.