Move page initialization to better place.