Remove unused class attributes