abcl:  restore compliation by moving declarations before use in closures.