Add set() method