A common default set_many implementation

@cpennington @sarina or @dianakhuang please review