Revert "Moved the hook from destroy() to uninitialize() to conform to spec."
Reason: uninitialize() is deprecated; also makes it work w/o WidgetBase

This reverts commit 8cb041cfc9ca6a626cfb038b55b4c68fa0e76eff.