Clean up obsolete tags.