def unserialize(self, data): b = broker.StorageBroker(None) b.setTub(self) d = storage.unserialize(data, banana=b) assert isinstance(d, defer.Deferred) return d