Formatting of transformer.