Added missing quantity variable to item class.