Renamed io_type to context_type.