code refactory, Page#methods go private