Refactors page model