Use anonymous function as default