Updating template page classes.