protected static void setCurrent(Session session, NodeOrRelationship current) {
   session.set(CURRENT_KEY, current.getTypedId().toString());
 }
 public static void writeCurrentWorkingDir(List<TypedId> paths, Session session)
     throws RemoteException {
   session.set(WORKING_DIR_KEY, makePath(paths));
 }
 protected static void clearCurrent(Session session) {
   session.set(CURRENT_KEY, new TypedId(NodeOrRelationship.TYPE_NODE, 0).toString());
 }