Rename "version" variable type to "type_version"