Port to the latest changes in closure syntax

Luckily this only needs to be a very simple change.