Drop unnecessary anonymous function