Documentation for beast.math.distributions.OneOnX is deprecated and replaced by
beast.base.inference.distribution.OneOnX
.