Capture correct objects for lambda invocation. Split long lines.