Added `widgetsInTemplate` property.