Replaced missed `isFun` with `isFunction`.