Add pretty rewrite