Page constructor totally rewriten