Adding bayes and some other stuff.