Added an optional `save_interval` param.