Add bayes net stuff.