These 2 functions should be called from the bottom of the widget, not the `addBinding` function