Refactored ugly setf-union stuff to unionf.