adds basic widget support