Add some possibly sync-related logic.