Remove unneeded arguments to save_object