Do some conversions