protected ResourceState resource(String endpoint, Object[] properties, ResourceState... members) throws URISyntaxException { ResourcePath path = new ResourcePath(endpoint); return resource(path.tail().toString(), path.parent().toString(), properties, members); }