Added functionality to have widget class.