Move layout to sitedef