Bug fix for history, make history API private
Merge pull request #83 from smnguyen/history-fix

Bug fix for history, make history API private