Remove hardcoded version. Make use of version string in ApiMetadata.

Remove hardcoded version. Make use of version string in ApiMetadata.