a `git grep` wasn't turning up any matches for `addMetadata` anywhere other than this function or the unit test. I'll have another look.