Refactoring and Solving namespace problem in passthrough filter class