Throw errors on unknown channels and remove variable unset