Remove enum in Transaction.
Merge pull request #130 from EasonLiao/remove_enum

Remove enum in Transaction.