Fix bug with the save_* methods.