Added code to bypass security for WidgetComponents