This is why you use case classes instead of tuples when you want to preserve types