Support layouts (closes #7)