Abstract out the package loading check.
Change lookup_metadata_entry to insert placeholder for each unmatched key.
Describe return value of metadata API.
Metadata API is finalized.