Add typecasting