Added event dispatching for synchronisation.