Using itemmgetter instead of a lambda in last example.