added support for registry_widget