Passing an empty array will lead to the same behavior as using a boolean, so we can remove the parameter.