Unify set() and unset().