Remove unnecessary attribute overrides.