Update History to work with latest Document API