Module.widgetPrototypes, widget.isPrototype and connections setup