Change page iterator to parse uri once and clean up.