Add class HTML attr to Widget entity