Sorting nexin 27 rescues neuroligin 2 from lysosomal degradation to control inhibitory synapse number.