Refactor Page.save