Reduce and unset variables