Molecular mechanisms that limit the costs of NLR-mediated resistance in plants.