Allow for functions with no arguments when reporting wrong number of parameters.