Fixed typos in comments and docs