You should remove this method entirely and have it access the cloud like the other classes. Also, there should never be a case where cloud is null, so remove those checks in this class.