API for AncestorSync.