Remove phantom type conversions from IO