Update for UIContext in getMetadata(...)