Finish implementing page initialization