Adding methods to support lambdas