Added new function

 - Added auto_register_widget_bar function.