Added bag of words model.