Remove unneeded tuple typecasting