Remove unused fields.