C++11 lambdas are awesome.