Fixed indentation, cache calls to _load_data when using as module