A dehydratase domain in ambruticin biosynthesis displays additional activity as a pyran-forming cyclase.