Removed unused class variable.
Changed ManagementObjectSearcher object to class level.