Added base widget class