Changed old reference to Widget to IsWidget

This change will be breaking with some legacy code where overridden methods that were using Widget will have to move to IsWidget.