Formatting changes. Also removed mutable object (list) from default
value for kwarg, and replaced map by list comprehension.