Reworked provider synchronization.