should this be called `getTypeString` to be consistent with `getUnitString`?