Add a loading flag and a matching event to data sources.