Crystal structure analysis of 3,6-anhydro-l-galactonate cycloisomerase suggests emergence of novel substrate specificity in the enolase superfamily.