Allow elements to be tested against arbitrary complex filters