Change references of SVProgressHUD to self or self.class.