Two receptor-like genes, Vfa1 and Vfa2, confer resistance to the fungal pathogen Venturia inaequalis inciting apple scab disease.