Support resource embedding in the metadata assembly.