Init pages model.