Changes anonymouse functions to named calls