Expansion of the SOX gene family predated the emergence of the Bilateria.