Adding history API methods.