Remove getDeadlineString
Reduce lambda capture scope
NOLINT for block statements