Fixing deserialization of a void package