Remove type_cast_code