Line 784 already established that `data` is defined, so this first check is not necessary.