I am not sure we need to WARN about unused uri-variables; this would mean that every time a dynamic URL arrives that doesn't need a particular variable, we'd get a WARN log; if the uri doesn't need a variable, just ignore it - maybe that's what you are saying by holding the variables in a map?