Got the map_named_data_type method working I think.