Organizes naive bayes classifier a bit better.