Add Bag of Word support.