Adds support for /pages endpoint