Misc layout and pages module functionality.