Distance and speed unit values are now using the enumeration provided
instead of plain ints.