Replaced extraneous lambda with regular assignment.