Metadata override when calling addFile

Hello, when I call addFile function in the uppy instance with a metadata object, the fields ‘type’ and ‘name’ are overridden by uppy uppy/Uppy.js at 930645ecde8359e8729e88ddc35729ddc6c6c980 · transloadit/uppy · GitHub

I am using the field ‘type’ in metadata to define important information that I will use right after the file is added, so this override is causing information to be lost.
I found no mention in comments and in the documentation about restrictions of field in the metadata so this override is came as a surprise.

Is there a reason this override exists?