Moved data loading.