Rename global var to track deprecation warning

Follow-up to d71b3c9.