Fix attr example to match doc.