Switch the Sync plugin to use the widget factories as well.