Add support for imperial units