Remove unnecessary namespace scoping in function definition, add stub for filter