Add temp name to anonymous function for debugging.