Fixed typos in docs and comments