Extending Object makes Mongoose crash

It seems like Mongoose doesn't allow Object to be extended with custom methods. 
I also added some minor changes to Stopwords (including changing its name).