Add missing variable definitions.