Documentation and a working currentPageData method