Do we generate code directly from a mixed dat? I would argue the dtype should be the tuple of dtypes.