[DDC 2004] addFilter class name or instance

Make it possible to add filter class name or instance to addFilter. This is useful to use services to inject other dependencies.