Added type conversions.