Add stuff for the mcmc code.