Adapt Learn section of Spamblock Bayes for 2.0 backend.