With some data-type conversions we can do a best-effort conversion of
UI data like default values and min and max to the new data type.
This can help to make Python scripts simpler and to avoid bugs like
Fixes
Cleanup
Remove workaround
Cleanup
Cleanup
Cleanup
Fixes and cleanup