Added widgets_init method