Make gremlin easier to use by consolidating code into a single callback.