added attributes to variant class.