expose pack and unpack to $widgetsProvider