Removed undesirable behaviour of save and save_all mutating their arguments