Convert to using a layout.