Added support for pages that do not include a layout.