Removed double rendering in generator template.