Replaced Widget by IsWidget for testing purposes