Fixes issue where deserialize wasn't exported.