Add support for type casts