Integrating filters into the route component