.do now doesn't throw if the array passed to it contains mixed values.
It just takes the functions and executes them and ignores other values.