Helper classes for Bayesian model-to-data comparison.