added name to document metadata type