make shellwidgets work properly with the new foundation binding api.