The anonymous functions are not needed here.