Improve lambda template file.