Refactored page classes.