Fixed invokeAll() needs an array of parameters.