Use typeof vertx check for consistency