This avoids leaking the factory reference in particular.
Attach a file by drag & drop or click to upload