Allow multiple layouts (closes #1).