Fixed lambda functions in batch
Allow using batch functions as lambda functions