Minor improvements to saving page models and obtaining page source code