Get rid of an unneeded lambda