Allow routes to be resolved by name property.

@incuna/js please.