Declarative routing for WAI.