Widget's template instance should be created after firing widgetDefinition what makes it possible to overwrite this property (with string).