Rewrite attributes