(doc) Updated some comments and error messages.