map_type will only be invoked with the core types