Add twx.set_page utility