* Throw a better error when transforming imported bindings in types * Also type casts * Update error message