Support the newly added APIs for multi-page documents, too.