Add check for unsafe operation on Iterable.
Improve formatting of warnings.