Fixed a small issue with deserialization using the wrong classloader.

When trying to deserialize a class saved on the object store, you got a class not found error because it was using the wrong classloader.