Check the number of parameters when searching for callable function (I remember having something against this, but let's see how it goes and revert it then if some problems arise)