Added the class definition to the pickle file and fixed spelling errors in documentation