The list of formats will be stable since they don't include any inputs, so `formats` should be lifted out of this method and become a constant `FORMATS` on the class.