Get rid of Collection.setMetadata