Moving formatting to a layout