Remove unnecessary attribute.