Merge page delegate into one. Use python dict to direct the hierarchy.