relocate wrapper class to allow filter result to be pickled