refactor PageScopeMethods