Tip: this can be replaced with URI.create(node), which throws runtime exception instead.