Development of the genital system