Fold instances for Quantity and Unit into one.