I didn't mean to actually use a lambda :) lambdas can't be pickled. Only things that can be imported or constructed by name (i.e. have a `__name__`).