Execute callback when fetching data sources.