Add widget common class