Fix implementation following widget refactoring in delite.