Added history support.