Removes rewriting