Added lazy initialization of the page images.