Add some type conversion.