Ad-hoc implementation to expand tuples.