Add version number to metadata.