No need to use map in void context.

Using map in void context is a bit confusing as a for/foreach loop would do the same thing.  This small commit fixes that.