Properly declare and fall back to globals.