Fixed LR2 to compile (replaced invoke with doAll).