Added some helper methods, which create a dynamic navigation based on the nested set of pages.