Improve the Go binding for merkletree.