Changed layout to allow header and footer omissions.