Remove naming of anoymous functions. Unnecessary and slightly wrong.