Add filter method.