Is it possible to pass constructor arguments to the filter?