refactor to follow convention in the rest of the file. raxtemplate => metadata