improving how block closures are emitted