Changed class variables to item (ex: classdef > itemdef).