Adopts new page api