Add class to wrap pairwise chisq stat