Added __str__ method in tag.