Would this patch do? For some reason that I haven't investigated, the usual warning-suppression mechanisms seem ineffective for these warnings. I'm probably doing something wrong. Even so, it's better to have arity checks that cannot be disabled than none at all.