Removing flatten statements, adding a load() method, and fixing repository access issues in the base cloud class.