Use a different method to define the class attributes. [#77432872]