Removed the need for cake context in lambdas.