[Generator] Add doc, clarifying comments.