Fix some typos and docblocks