Fix multiple arguments for a DocPredicate function