Make page constructor public