According to our style guide we should be using the new-style lambdas. Though I'm not sure if that puts any unwanted ruby-version constraints on this library.