Add a filter for router