Receptor-activity-modifying protein 1 forms heterodimers with two G-protein-coupled receptors to define ligand recognition.