Add Truffle dependency.
Remove dead code and fix Javadoc.