Add saveAll method for saving collection of data.