Moving format definitions into an enum