Refactoring Service Path Filtering