Should we bridge this with `onUninit` in `panel.js` ?