Changed lambdas to using methods.

[Delivers #58142518]