Add Sync class definition