The doublesex homolog Dmrt5 is required for the development of the caudomedial cerebral cortex in mammals.