Rewrite messages