Add method setConfigData() to the TemplateEngine class. ProcessWire does set config data over this method if it is found.
In the context of this module this is much better, because set() should only be used to pass template variables, not config values.