Any reason for removing the blank lines here? That comment is meant to apply to two functions below; putting it directly on top of `should_write_tags` makes it look like it only applies to that function.