Fixed generation of rendererParentClass and rendererBaseClass.