Add defvar to prevent "reference to free variable" warning.