Added some conversion utilties that I frequently use.