Added method to access all parents of a page