Added initial infrastructure to support history file restarts.