Included the option to disable typecasting.