Updated the doc. Fixed some spelling errors in the doc.