Just before changing tags.