Fixed small typos and missing comments