Extract format as class