Add 'set' method