Fix for add_widgets().