Replace check.array with Array.isArray.
Update check-types dependency.
First cut waterfall mapper.
Remove old function.
Fix lint errors.