Modify the spelling mistake of comments, and add comments for Inspector::add