Fix fatal error when wrong number of arguments are passed.