Let me know if you guys think this is _too complex_. I wanted it to be as close to the non-function way as possible so this will only call the filter function if the route path has a `name` annotation. I could change it to just call the function for every route because when the map/hash is created route paths without `name` annotations are ignored.