Use struct instead of class

Format does not need to have state.