Moved helpers for working with variadic tuples into a helper file.