Create a class method that returns a proc needed for parameter filtering