Cast error in withings shim.