Added histories support.