Added validation for comments.