This should explicitly check for `undefined`.