Revert "Add functions returning starting/ending page"

This reverts commit d6f592a11199f288f9f2adcc903aab3cca18a0be.