Change lambdas to data variables.