Extract a layout