Rewrite detail.