Add missing attributes to metadata