Further work on Sync and GroupDb.