Rewrite bit stuff.