Add roles for metadata

please merge now.