Added docs for the save function.