Support closures in annotations