Changes to core classes needed for Word2Vec.