Implement three commands for history items