Added GetMetadata method for storage.