Added offline data loading.