Use Arvid's trick for getting the history object