Simplify argument list of write-main-page.