[BUGFIX] Call to undefined method setTemplateFile