Cleans up navigation and page headers.