Added support for priors on beta