TagWriter cleanup.