Add widget class and list of widgets