Started working on wrapping BagOfWords classes.