Add #set() method