Linted,
Refactored node generation code.