change the lambda to method in this commit
https://github.com/cloudfoundry/warden/commit/02d6a29fa027951891f0a4d4caa357b950c5613f