Adding checkpoint synchronization.