Added anonymous function.