renderer2: streamlined the generation, refs #323