Unify some code. No functional change.
Grammar.
Clean up comment.
Add a comment.