Change the way to get history.