Added definition for metadata service