Conversion between formats.