Fixed version serialization.