Added save_all method for saving multiple objects in a single transaction