Rudiments of rewrite.