Why should we remove the `array` type cast on the second param? Should we accept any other type of param different of array?