Make SyncRepository dictionary-based