Added history macro.