Add basic support for page hierarchy