Fix a missing var declaration.