Use the right type_map