Define path methods instead of catch all.