Replaced bind to lambda.