Correction to: Nature Immunology https://doi.org/10.1038/s41590-019-0452-8, published online 15 July 2019.

In the version of this article initially published, a word (‘elimination’) was incorrect in the third sentence of the final paragraph of the introduction, and the first word (‘Immuno-oncology’) in the title of the Fig. 2 legend was incorrect. The correct word in the introduction is ‘attenuation’; the correct Fig. 2 title is “Approaches in various stages of development.” The errors have been corrected in the HTML and PDF versions of the article.