Crystal structure of the ligand-binding domain of the promiscuous EphA4 receptor reveals two distinct conformations.