Rewriting some stuff.