Sertoli cell differentiation is induced both cell-autonomously and through prostaglandin signaling during mammalian sex determination.