Added variable arguments to lambda functions. Last argument must be '&' to work.