Versioned serialization.