Adding name directive to metadata