Fixed the ancestor and child wrappers for pages.serve