Remove unused class fields.