Fix a comment and an error message typo.