Fixed missing variable definitions.