Finish refactoring and add methods set_bunch_xxx instead of set_scalar_quantities.