Semi rewrite.