Enable rewriting