We probably need to deprecate usage of `$CONFIG->widgets` in favor of method getWidgets.