Declarative routing for Snap.