Add format class attributes