A Pint quantity needs [to declare the registry as the application registry if a quantity needs to be pickled or unpickled](https://pint.readthedocs.io/en/stable/tutorial.html#using-pint-in-your-projects). I have to check if this works and if something needs to be done for other quantity forms.