Decided to return to use bind instead of lambdas but using std::bind
rather than boost::bind.