Add type conversion