Get rid of Page::endbody, do stuff after finalize() instead.