Add support for converting units