Easier way to define predefined lambdas.