Changed old reference to Widget to IsWidget

This change will be breaking with some legacy code where references to Widget will have to move to IsWidget.