Patched Library to handle offline syncing while deleting