Implementing patchShadow for ClientSyncEngine.