Fixing MID-2037 (NotSerializable exception related to progress indicator).