Add insertAll for Iterables too, and fix some code style