Support o-types types in o.writer.