Add check for cloud.Cloud