Adding interface and implementation for metadata extensions