type_mapping no longer needed in Tag class