Add a "set" method