Converted callback in anonymous function.