		function setup(){
					declare("MyWidget", _WidgetBase, {
						postCreate: function(){
							on(this.domNode, "click", lang.hitch(this, "onFooBar"));
						},
						onFooBar: function(){
							// This is called whenever the widget is clicked
						},
						foobar: function(){
							// A widget.on("foobar") should go to onFooBar() (above), not here
						}
					});

					parser.parse();
				},

				function connect(){
					// This should work despite the fact that the function onMouseOver has
					// m