Format class