Would it be possible (and cleaner) to move these, along with the functions like `getProperties`, into the `itemsetWidget` scope?