Add method to pagination docs.