Remove unused manual sync code