Rewrite code page.