// prepare the unmarshaller to load the main stream, by using yet-fulfilled PickleResolver
MarshallingConfiguration config = new MarshallingConfiguration();
config.setClassResolver(new SimpleClassResolver(classLoader));
//config.setSerializabilityChecker(new SerializabilityCheckerImpl());
config.setObjectResolver(combine(evr, ownerResolver));
final Unmarshaller eu = new RiverMarshallerFactory().createUnmarshaller(config);
eu.start(Marshalling.createByteInput(din));
// start rehydrating, and when done make the unmarshaller available
return Futures.transform(evr.rehydrate(), new Function<PickleResolver, Unmarshaller>() {
public Unmarshaller apply(PickleResolver input) {