Changes for sampling from prior with new, minimal, data formats.