Structural and functional insights into an Archaeal synthase