Filter can be array or lambda.