Added utility for node generation.