Removed NULL pointer errors when downloading objects and loading buckets.