Beginning of rewriting.