There's no good way around it here. You could use a map of objects containing two variables but that doesn't actually give you a better guarantee that stuff is correct.