made max_tags_map public