Fix missing import on WeakReference in IAddon [deploy snapshot]