Fixed missing global declaration.