Updates toward Tinkerpop 2.4.0 compatibility.

The project does not compile.